Fix which-function error in 'lua-ts-mode' (bug#70515)
authorjohn muhl <jm@pub.pink>
Sun, 21 Apr 2024 02:19:27 +0000 (21:19 -0500)
committerEli Zaretskii <eliz@gnu.org>
Thu, 25 Apr 2024 15:39:30 +0000 (18:39 +0300)
commitc493f28cc948ac4aef9c262345a608b3c7d413a4
tree5599c46573495fd84a57b0fce24131ce399c847f
parenta45ae6bce982ee7eff33242e0742a6cfda01d4cb
Fix which-function error in 'lua-ts-mode' (bug#70515)

* lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Remove incorrect
usage of 'which-func-functions'.
* test/lisp/progmodes/lua-ts-mode-tests.el
(lua-ts-test-which-function): Add test.
* test/lisp/progmodes/lua-ts-mode-resources/which-function.lua:
New file.
lisp/progmodes/lua-ts-mode.el
test/lisp/progmodes/lua-ts-mode-resources/which-function.lua [new file with mode: 0644]
test/lisp/progmodes/lua-ts-mode-tests.el